package com.vallis.asfc.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.sql.Timestamp;
import java.time.LocalDateTime;

import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.apache.poi.ss.formula.functions.T;

/**
 * <p>
 *
 * </p>
 *
 * @author vallis
 * @since 2020-08-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class AsfcMatch extends Model<AsfcMatch> {
    
    private static final long serialVersionUID = 1L;
    
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    
    private String name;
    
    private Timestamp startime;
    
    private Timestamp endtime;
    
    private String address;
    
    private Long createuser;
    
    @TableField(fill = FieldFill.INSERT)
    private Timestamp createtime;
    
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp updatetime;
    
    @TableField("Introduce")
    private String Introduce;
    
    /**
     * 赛事删除状态1已删除0未删除
     */
    @TableLogic
    private Long deleteState;
    
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    
}
